<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Arrived extends Model
{
    use HasFactory;
    protected $table = "arrived";
    public $timestamps = false;
    protected $fillable = [
      "exhibition_id","user_id","arrive_time","is_arrived"
    ];
    public function exhibition(){
        return $this->belongsTo(ExhibitionName::class,"id","exhibition_id");
    }
}
